-
-
Notifications
You must be signed in to change notification settings - Fork 281
ci(version): fix poetry project version and version_files config #370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #370 +/- ##
=======================================
Coverage 97.59% 97.59%
=======================================
Files 39 39
Lines 1373 1373
=======================================
Hits 1340 1340
Misses 33 33
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Because we are using |
We should probably update the https://github.com/commitizen-tools/commitizen/blob/master/docs/config.md https://github.com/commitizen-tools/commitizen/blob/master/commitizen/commands/bump.py#L179 What do you think? |
Yes, I think it would be better that we manually push this one. Forget to mention it 🤦🏻 |
I agree we should update the documentation as well.
I'm afraid I did not understand what you mean. Could you describe it a bit more? 🙂 |
I think a solution would be to check for all occurrences when running the regex, that would solve the reported issue and the issue with not modifying the poetry version. Before we were updating all changes in a file, right? now it seems like we update only one Edit: Sorry, I didn't mean this PR, I mean the change that forces us to have 2 items in the |
I think what you propose makes sense 👍 I'm thinking of first manually push 2.7.1, then merge this one. After all these step, we could create an issue to fix it. What do you think of the steps? |
I would only update the version in the |
Sounds good 👍 Then, I'll close this PR |
Description
We didn't clearly specify which version should be updated in
pyproject.toml
. After the fix of #361, we need to clearly specify it.Checklist
./script/format
and./script/test
locally to ensure this change passes linter check and testExpected behavior
Run
cz bump
and bump the version correctlySteps to Test This Pull Request
cz bump
pyproject.toml
inpoetry
andcommitizen
sectionAdditional context